projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc5a860
)
* lread.c (read_vector): Use STRING_SET_CHARS.
author
Ken Raeburn
<raeburn@raeburn.org>
Mon, 15 Jul 2002 02:16:52 +0000
(
02:16
+0000)
committer
Ken Raeburn
<raeburn@raeburn.org>
Mon, 15 Jul 2002 02:16:52 +0000
(
02:16
+0000)
src/lread.c
patch
|
blob
|
history
diff --git
a/src/lread.c
b/src/lread.c
index 6900e337c7c90a916fb7122c44a792b1ba14094c..3b06968e084908a433054c1e7600503267f1a915 100644
(file)
--- a/
src/lread.c
+++ b/
src/lread.c
@@
-2760,7
+2760,7
@@
read_vector (readcharfun, bytecodeflag)
/* Coerce string to unibyte (like string-as-unibyte,
but without generating extra garbage and
guaranteeing no change in the contents). */
- S
CHARS (bytestr) = SBYTES (bytestr
);
+ S
TRING_SET_CHARS (bytestr, SBYTES (bytestr)
);
STRING_SET_UNIBYTE (bytestr);
item = Fread (bytestr);